//  @ Project : GagalPanen
//  @ File Name : plant.hpp
//  @ Date : 3/9/2011
//  @ Author : 
//
//


#if !defined(_PLANT_H)
#define _PLANT_H

#include "standingstillcreature.hpp"

class Plant : public StandingStillCreature {
public:
  Plant(GameInterface* game, int plant_id);
  Fruit* harvest();
  bool isHarvestable();
  void advanceDay();
  void advanceTime();
  bool isDead();
  bool isMature();
  bool isSteppable();
  void advanceDay();
  void advanceTime();
  bool isSteppable();
protected:
  Fruit* getFruit();
  int getHappiness();
private:
  GameInterface* game_;
  int happiness_;
  int plant_id_;
};

#endif  //_PLANT_H
